const merchant = {
    state: {
        merchantId: 0,
        deliverFee: 0,
        address: ''
    },
    getters: {
        getMerchantId(state) {
            return state.merchantId
        },
        getDeliverFee(state) {
            return state.deliverFee
        },
        getAddress(state) {
            return state.address
        }
    },
    mutations: {
        saveMerchantId(state, merchantId) {
            state.merchantId = merchantId
        },
        saveAddress(state,address){
            state.address=address
        }
    }
}
export default merchant
            